// Lottery2Doc.h : interface of the CLottery2Doc class
//


#pragma once
#include <boost/signals2/signal.hpp>


class CLottery2Doc : public CDocument
{
protected: // create from serialization only
	CLottery2Doc();
	DECLARE_DYNCREATE(CLottery2Doc)

// Attributes
public:
	boost::signals2::connection m_cntMatch;
	int		m_id_match;
	BOOL	m_bNewPage;

// Operations
public:
	void onMatch(int id,BOOL bNewPage,BOOL& bResult);
	void SetMatch(int id,BOOL bNewPage);

// Overrides
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);

// Implementation
public:
	virtual ~CLottery2Doc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	DECLARE_MESSAGE_MAP()
};
